import request from '@/utils/request.js'

// /role/getData 获取角色列表
export function getRoleList (data) {
  return request({
    url:'/role/getData',
    method:'post',
    data
  })
}

export function updateRole (data) {
  return request({
    url:'/role/alter',
    method:'post',
    data
  })
}